跳到主要内容

Upload a file

POST 

/api/2.0/crm/{entityType:(contact|opportunity|case)}/{entityid:[0-9]+}/files/upload

Uploads a file to the CRM module with the parameters specified in the request.

Note: Upload can be done in 2 different ways:

  1. Single file upload. You should set the Content-Type & Content-Disposition headers to specify file name and content type, and send a file in the request body.
  2. Using standart multipart/form-data method.

Request

Responses

File information